<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="root">
        <h1>{{name}}</h1>   <!-- 如果没有数据代理 必须_data.name  vm里面有get和set -->
        <h1>{{address}}</h1>
    </div>
    <script src="../vue.js"></script>
    <script>
        Vue.config.productionTip = false
        let data={
                name:'尚硅谷123',
                address:"东莞",
            }
        const vm=new Vue({
            el:"#root",
            data,
        })
    </script>
</body>
</html>